namespace Aurora.RabbitMq;

/// <summary>
/// distribute event bus
/// </summary>
public interface IDistributeEventBus
{
    /// <summary>
    /// 发送消息 只发送到 自己的主队列中
    /// </summary>
    /// <param name="event"></param>
    /// <returns></returns>
    Task PublishAsync(object @event);
}